
import ReactBox from 'grey-react-box';
import ControllerState from './ControllerState';
import onChange from './fns/onChange';

export { default as ControllerState } from './ControllerState';

export default class Controller extends ReactBox<ControllerState>{
    
    constructor() {
        super(new ControllerState());
    }

    onChange = onChange(this.state);
}